package com.oxo.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oxo.common.utils.PageUtils;
import com.oxo.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购需求
 *
 * @author oxo
 * @email yuxizhou42@163.com
 * @date 2025-07-09 22:38:07
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

//    PageUtils queryPage(Map<String, Object> params);

    /**
     * 商品库存（可根据skuId、wareId查找）
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据采购单ID查询采购需求
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long purchaseId);
}

